{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}个人信息{% endblock %}

{% block page_content %}
<form class="form-inline" id="product" name="product" action="" method="post">
    {{ wtf.quick_form(form) }}
</form>

<br><br>
<table class="table table-bordered">
    <tr>
        <th>邮箱</th>
        <th>姓名</th>
        <th>注册日期</th>
        <th>角色</th>
    </tr>
        {% if user_info%}
            <tr>

                <td>{{ user_info.get('email') }}</td>
                <td>{{ user_info.get('name') }}</td>
                <td>{{ user_info.get('registered_on') }}</td>
                <td>{{ user_info.get('role') }}</td>

            </tr>
        {% endif %}
    </table>
{% endblock %}
